package com.allen.study.infrastructure.persistence.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.allen.study.common.base.SnowflakeBasePO;
import lombok.Getter;
import lombok.Setter;

/**
 * 用户角色关联表持久化对象
 *
 * @author AllenSun
 * @since 2025-04-23 20:46
 */
@Getter
@Setter
@TableName(value = "SYS_EMP_ROLE")
public class SysEmpRolePO extends SnowflakeBasePO {

    /**
     * 员工id
     */
    @TableField("employee_id")
    private String employeeId;

    /**
     * 角色key
     */
    @TableField("role_key")
    private String roleKey;
}
